package com.lwlk.zdk.mapper.pw;


import com.lwlk.zdk.model.pw.pwPlatformRole;
import com.lwlk.zdk.model.pw.pwPlatformRoleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface pwPlatformRoleMapper {
    int countByExample(pwPlatformRoleExample example);

    int deleteByExample(pwPlatformRoleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(pwPlatformRole record);

    int insertSelective(pwPlatformRole record);

    List<Map<String,Object>> selectByExample(pwPlatformRole example);

    pwPlatformRole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") pwPlatformRole record, @Param("example") pwPlatformRoleExample example);

    int updateByExample(@Param("record") pwPlatformRole record, @Param("example") pwPlatformRoleExample example);

    int updateByPrimaryKeySelective(pwPlatformRole record);

    int updateByPrimaryKey(pwPlatformRole record);

    List<Map<String, Object>> selectDetails(@Param("id") Integer id);

    List<Map<String, Object>> selectRole();


    int selectRoleCode(@Param("roleCode")String roleCode);
}